package com.itheima.pojo;

import java.util.Date;
import java.util.List;

public class Seller {
    private int id;
    private String seller_name;
    private String telephone;
    private String address;
    private String username;
    private String password;
    private Date birthday;
    private List<String> userList;

    public Seller(int id, String seller_name, String telephone, String address, String username, String password, Date birthday, List<String> userList) {
        this.id = id;
        this.seller_name = seller_name;
        this.telephone = telephone;
        this.address = address;
        this.username = username;
        this.password = password;
        this.birthday = birthday;
        this.userList = userList;
    }

    @Override
    public String toString() {
        return "Seller{" +
                "id=" + id +
                ", seller_name='" + seller_name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", address='" + address + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", birthday=" + birthday +
                ", userList=" + userList +
                '}';
    }

    public List<String> getUserList() {
        return userList;
    }

    public void setUserList(List<String> userList) {
        this.userList = userList;
    }

    public Seller() {
    }

    public Seller(int id, String seller_name, String telephone, String address, String username, String password, Date birthday) {
        this.id = id;
        this.seller_name = seller_name;
        this.telephone = telephone;
        this.address = address;
        this.username = username;
        this.password = password;
        this.birthday = birthday;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSeller_name() {
        return seller_name;
    }

    public void setSeller_name(String seller_name) {
        this.seller_name = seller_name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
